package com.shanzmoo.h5.domain.bo;

import com.alibaba.fastjson.JSON;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 会员登录token信息
 * @author Gzhao 2020/12/26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor()
@ApiModel("会员登录token")
public class MemberTokenBO {

    @ApiModelProperty("用户凭证")
    private String token;

    @ApiModelProperty("token头")
    private String tokenHead;

    @ApiModelProperty("刷新token")
    private String refreshToken;

    @ApiModelProperty("微信身份")
    private String openId;

    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }
}
